package com.titan.single.exceptions;

import lombok.Data;

@Data
public class TitanException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private String status;
    private String msg;



    public TitanException(String status, String msg) {
        // 不实现父级属性初始化，异常标准方法 e.getMessage() 将无法打印正确消息
        super(msg);
        this.status = status;
        this.msg = msg;
    }


}
